home *** CD-ROM | disk | FTP | other *** search
- /*
- ** patch.library
- **
- ** Copyright © 1993-1997 by Stefan Fuchs
- ** Freely distributable.
- */
-
- #ifndef _PATCH_INCLUDES_H
- #include "patch_includes.h"
- #endif
-
-
- /****** patch.library/RemPatchNotifyA ***************************************
- *
- * NAME
- * RemPatchNotifyA -- Stop receiving messages, if a patch is changed.
- * (V5)
- * RemPatchNotify -- varargs stub for RemPatchNotifyA(). (V5)
- *
- * SYNOPSIS
- * Error = RemPatchNotifyA( msgport, taglist )
- * D0 A0 A1
- *
- * ULONG Error RemPatchNotifyA( struct MsgPort *, struct TagItem *);
- *
- * Error = RemPatchNotify( msgport, firsttag, ...)
- *
- * ULONG Error RemPatchNotify( struct MsgPort *, Tag, ...);
- *
- * FUNCTION
- * Stop receiving notification requests for the given messageport.
- * The messageport should have been used in a previous call to
- * AddPatchNotify(). Before deallocating your MsgPort you must
- * still reply outstanding messages.
- *
- * INPUTS
- * msgport = pointer to msgport or null for no action
- * taglist = pointer to array of tags
- *
- * TAGS
- * none defined yet
- *
- * RESULT
- * Error = errorcode as defined in patch.h.
- * PATERR_Ok
- * Indicates success of the operation.
- *
- * NOTES
- *
- * BUGS
- *
- * SEE ALSO
- * AddPatchNotify(), patch.h
- *
- ******************************************************************************
- *
- */
-
- ULONG LIBFUNC RemPatchNotifyA( REGA0 struct MsgPort *msgport GNUC_REGA0, REGA1 struct TagItem *taglist GNUC_REGA1)
- {
- ADeleteMyListNode( FindPatchNotify(msgport));
- return(PATERR_Ok);
- }